function createLogin(){
    let aArr = document.querySelectorAll("#apiConent li a");
    aArr.forEach((item,index)=>{
        item.addEventListener("click",()=>{
            mask.style.display = "block";
        });
    });

    mask.addEventListener("click",()=>{
        mask.style.display = "none";
    });

    document.querySelector(".login_box").addEventListener("click",(e)=>{
        e.stopPropagation();
    });

    let tabBtns = document.querySelectorAll(".tab_box span");
    let boxs = document.querySelectorAll(".form_box,.qrcode_box");
        tabBtns.forEach((item,index)=>{
            item.addEventListener("click",()=>{
                tabBtns.forEach((v,i)=>{
                    v.className = "";
                    boxs[i].style.display = "none";
                })
                item.className = "on";
                boxs[index].style.display = "block";
            });
        })
};

function jump(){
    let imgArr = document.querySelectorAll("#apiConent li img");
    console.log(imgArr)
    imgArr.forEach((item)=>{
        item.addEventListener('click',()=>{
            console.log(item.src,item.src.slice(8,17))
            //location.href = "apiDelit.html"; 
        })
    })
    
}